package com.baidu.service.impl;

import com.baidu.entity.OrderOrShopping;
import com.baidu.mapper.OrderOrShoppingMapper;
import com.baidu.service.OrderOrShoppingService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @描述
 * @Author OrderOrShoppingServiceImpl
 * @Date 2019/4/25 15:21
 **/
@Service("orderOrShoppingService")
public class OrderOrShoppingServiceImpl implements OrderOrShoppingService {
    @Resource
    private OrderOrShoppingMapper orderOrShoppingMapper;

    /**
     * 查询订单以及下单信息
     * @param order_number
     * @return
     */
    @Override
    public OrderOrShopping selectOrderOrShoppingById(Integer order_number) {
        return orderOrShoppingMapper.selectOrderOrShoppingById(order_number);
    }
}
